package com.lagou.edu.annotation;

import java.lang.annotation.*;

/**
 * @ProjectName: lagou-transfer
 * @Title: Transactional
 * @Package: com.lagou.edu.annotation
 * @Description: 自定义Transactional注解
 * @author: Ian
 * @date: 2020/12/4 11:39
 * @version: V1.0.0
 * @Copyright: 2020 www.cloudlan.cn Inc. All rights reserved.
 *
 * <remark>
 * Inherited 注解标识子类将继承父类的注解属性
 * </remark>
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Transactional {
    String value() default "";
//    String transactionManager() default "";
}
